const vendor/golang.org/x/crypto/chacha20.blockSize
13 uses
vendor/golang.org/x/crypto/chacha20 (current package)
chacha_generic.go#L123: const blockSize = 64
chacha_generic.go#L157: outputCounter := s.counter - uint32(s.len)/blockSize
chacha_generic.go#L167: s.len = int(s.counter-counter) * blockSize
chacha_generic.go#L216: numBlocks := (uint64(len(src)) + blockSize - 1) / blockSize
chacha_generic.go#L235: const blocksPerBuf = bufSize / blockSize
chacha_generic.go#L238: numBlocks := (len(src) + blockSize - 1) / blockSize
chacha_generic.go#L239: buf := s.buf[bufSize-numBlocks*blockSize:]
chacha_generic.go#L257: if len(dst) != len(src) || len(dst)%blockSize != 0 {
chacha_generic.go#L337: src, dst = src[blockSize:], dst[blockSize:]
chacha_noasm.go#L10: const bufSize = blockSize
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |